package exception;

import java.awt.*;
import java.io.IOException;

public class ThrowsDemo {
    public void dosome() throws IOException, AWTException{

    }
}
class subClass extends ThrowsDemo {

//    public void dosome() throws IOException, AWTException {
//        super.dosome();
//    }
//    public void dosome() throws IOException {
//
//    }
    public void dosome() {

    }
}
